From: Robert Marko Date: Mon, 12 May 2025 09:16:14 +0000 (+0200) Subject: qca-ssdk: update for 6.12 compatibility X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=491d91d2ffd50f045bf7002908eb4b069c686fa8;p=openwrt%2Fopenwrt.git qca-ssdk: update for 6.12 compatibility Update to current SSDK head for 6.12 compatibility. We must disable warnings for missing declarations and prototypes since whole SSDK is litered with them and actually fixing them is like doing whack a mole. Link: https://github.com/openwrt/openwrt/pull/18795 Signed-off-by: Robert Marko --- diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile index 0ec3f3ac0a..33282858bc 100644 --- a/package/kernel/qca-ssdk/Makefile +++ b/package/kernel/qca-ssdk/Makefile @@ -5,9 +5,9 @@ PKG_RELEASE:=1 PKG_SOURCE_URL:=https://github.com/openwrt/qca-ssdk.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2025-05-09 -PKG_SOURCE_VERSION:=4f7dacb232cd2df3e4867c9fcf9e4a08bfa92820 -PKG_MIRROR_HASH:=367ac0df54df379f9e8192256f14da3f94fe0797eba768ac671c70c774094804 +PKG_SOURCE_DATE:=2025-05-12 +PKG_SOURCE_VERSION:=709382c7aefbd07643db24edb514322f078c5181 +PKG_MIRROR_HASH:=9b2967b6e6fea45138fd09a7f40f03210edb66c661faed9ce4003e5301341611 PKG_FLAGS:=nonshared PKG_BUILD_PARALLEL:=1 @@ -34,6 +34,12 @@ GCC_VERSION=$(shell echo "$(CONFIG_GCC_VERSION)" | sed 's/[^0-9.]*\([0-9.]*\).*/ LNX_CONFIG_OPTS = LNX_MAKEOPTS='$(KERNEL_MAKEOPTS)' PRJ_PATH=$(PKG_BUILD_DIR) MODULE_TYPE=KSLIB modules +EXTRA_CFLAGS:= \ + -fno-stack-protector \ + -Wno-missing-prototypes \ + -Wno-missing-declarations \ + -I$(STAGING_DIR)/usr/include + MAKE_FLAGS+= \ TARGET_NAME=$(CONFIG_TARGET_NAME) \ TOOL_PATH=$(firstword $(TOOLCHAIN_BIN_DIRS)) \ @@ -43,7 +49,7 @@ MAKE_FLAGS+= \ ARCH=$(LINUX_KARCH) \ TARGET_SUFFIX=$(CONFIG_TARGET_SUFFIX) \ GCC_VERSION=$(GCC_VERSION) \ - EXTRA_CFLAGS="-fno-stack-protector -I$(STAGING_DIR)/usr/include" \ + EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ SoC=$(CONFIG_TARGET_SUBTARGET) \ SHELL="$(BASH)" \ PTP_FEATURE=disable SWCONFIG_FEATURE=disable \